.class Lcom/waiqin365/lightapp/product/a/bc;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Landroid/widget/CheckBox;

.field final synthetic b:Lcom/waiqin365/lightapp/product/a/bb;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/product/a/bb;Landroid/widget/CheckBox;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/product/a/bc;->b:Lcom/waiqin365/lightapp/product/a/bb;

    iput-object p2, p0, Lcom/waiqin365/lightapp/product/a/bc;->a:Landroid/widget/CheckBox;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 5

    const/4 v4, 0x0

    new-instance v1, Lcom/waiqin365/base/db/jxccache/g;

    invoke-direct {v1}, Lcom/waiqin365/base/db/jxccache/g;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bc;->a:Landroid/widget/CheckBox;

    invoke-virtual {v0}, Landroid/widget/CheckBox;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->a()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/waiqin365/base/db/jxccache/g;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bc;->a:Landroid/widget/CheckBox;

    invoke-virtual {v0}, Landroid/widget/CheckBox;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/f;

    invoke-static {v1, v0, v4}, Lcom/waiqin365/lightapp/product/e/b;->a(Lcom/waiqin365/base/db/jxccache/g;Lcom/waiqin365/lightapp/product/d/f;Z)D

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/waiqin365/base/db/jxccache/g;->a(Ljava/lang/Double;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bc;->b:Lcom/waiqin365/lightapp/product/a/bb;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/product/a/bb;->h:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bc;->a:Landroid/widget/CheckBox;

    invoke-virtual {v0}, Landroid/widget/CheckBox;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->r()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bc;->a:Landroid/widget/CheckBox;

    invoke-virtual {v0}, Landroid/widget/CheckBox;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->s()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/waiqin365/base/db/jxccache/g;->f(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bc;->a:Landroid/widget/CheckBox;

    invoke-virtual {v0}, Landroid/widget/CheckBox;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->r()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/waiqin365/base/db/jxccache/g;->e(Ljava/lang/String;)V

    :goto_0
    const-string/jumbo v0, "cxxs_xs_temp"

    invoke-virtual {v1, v0}, Lcom/waiqin365/base/db/jxccache/g;->k(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bc;->b:Lcom/waiqin365/lightapp/product/a/bb;

    invoke-virtual {v1}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/product/a/bb;->b(Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/g;

    move-result-object v0

    if-eqz v0, :cond_1

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/a/bc;->b:Lcom/waiqin365/lightapp/product/a/bb;

    invoke-virtual {v1}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/product/a/bb;->c(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/a/bc;->b:Lcom/waiqin365/lightapp/product/a/bb;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/product/a/bb;->a()Landroid/content/Context;

    move-result-object v1

    invoke-static {v1}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v1

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->u()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v2, v0}, Lcom/waiqin365/base/db/jxccache/f;->b(Ljava/lang/String;Ljava/lang/String;)V

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bc;->b:Lcom/waiqin365/lightapp/product/a/bb;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/a/bb;->notifyDataSetChanged()V

    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bc;->b:Lcom/waiqin365/lightapp/product/a/bb;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/a/bb;->a()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v0

    invoke-virtual {v1}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/db/offlinedata/w;->f(Ljava/lang/String;)Lcom/waiqin365/base/db/offlinedata/s;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/s;->c()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/db/jxccache/g;->f(Ljava/lang/String;)V

    invoke-virtual {v0}, Lcom/waiqin365/base/db/offlinedata/s;->a()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/waiqin365/base/db/jxccache/g;->e(Ljava/lang/String;)V

    goto :goto_0

    :cond_1
    new-instance v2, Landroid/content/Intent;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bc;->b:Lcom/waiqin365/lightapp/product/a/bb;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/a/bb;->a()Landroid/content/Context;

    move-result-object v0

    const-class v3, Lcom/waiqin365/lightapp/chexiao/CXXSItemModifyActivity;

    invoke-direct {v2, v0, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v0, "type"

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/a/bc;->b:Lcom/waiqin365/lightapp/product/a/bb;

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/product/a/bb;->c()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v0, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v0, "pdCache"

    invoke-virtual {v2, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v1, "selectedList"

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bc;->b:Lcom/waiqin365/lightapp/product/a/bb;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/a/bb;->m()Ljava/util/List;

    move-result-object v0

    check-cast v0, Ljava/io/Serializable;

    invoke-virtual {v2, v1, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v0, "isJT"

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/a/bc;->b:Lcom/waiqin365/lightapp/product/a/bb;

    iget-boolean v1, v1, Lcom/waiqin365/lightapp/product/a/bb;->i:Z

    invoke-virtual {v2, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string/jumbo v0, "cmId"

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/a/bc;->b:Lcom/waiqin365/lightapp/product/a/bb;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/a/bb;->j:Ljava/lang/String;

    invoke-virtual {v2, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v0, "isModify"

    invoke-virtual {v2, v0, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string/jumbo v1, "notifyClass"

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bc;->b:Lcom/waiqin365/lightapp/product/a/bb;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/a/bb;->a()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Landroid/app/Activity;

    invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v0

    invoke-virtual {v2, v1, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v0, "xs"

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/a/bc;->b:Lcom/waiqin365/lightapp/product/a/bb;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/product/a/bb;->c()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    const-string/jumbo v0, "titleName"

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/a/bc;->b:Lcom/waiqin365/lightapp/product/a/bb;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/product/a/bb;->a()Landroid/content/Context;

    move-result-object v1

    const v3, 0x7f080709

    invoke-virtual {v1, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    :cond_2
    :goto_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bc;->b:Lcom/waiqin365/lightapp/product/a/bb;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/a/bb;->a()Landroid/content/Context;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_1

    :cond_3
    const-string/jumbo v0, "th"

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/a/bc;->b:Lcom/waiqin365/lightapp/product/a/bb;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/product/a/bb;->c()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    const-string/jumbo v0, "titleName"

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/a/bc;->b:Lcom/waiqin365/lightapp/product/a/bb;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/product/a/bb;->a()Landroid/content/Context;

    move-result-object v1

    const v3, 0x7f0806e0

    invoke-virtual {v1, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    goto :goto_2

    :cond_4
    const-string/jumbo v0, "hh"

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/a/bc;->b:Lcom/waiqin365/lightapp/product/a/bb;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/product/a/bb;->c()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    const-string/jumbo v0, "titleName"

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/a/bc;->b:Lcom/waiqin365/lightapp/product/a/bb;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/product/a/bb;->a()Landroid/content/Context;

    move-result-object v1

    const v3, 0x7f080087

    invoke-virtual {v1, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    goto :goto_2
.end method
